package leetcode_2501_2600;

public class LeeCode_2520 {
    public static void main(String[] args) {

    }
    private static int countDigits(int num) {
        int pre = num, ans = 0;
        while (num != 0){
            int ge = num % 10;
            num /= 10;
            if (pre % ge == 0){
                ans++;
            }
        }
        return ans;
    }
}
